﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebTest.Core.Entities;

namespace WebTest.WebApi.Models
{
    public class GetOrderModel
    {
        public List<Guid> List { get; set; }
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 20;
    }

    public class UpdateOrderAddressModel
    {
        public Address Address { get; set; } = new Address("alias", "detail");
    }
    public class OrderItemModel
    {
        public int? Id { get; set; }
        public string Name { get; set; }
        public decimal Price { get; set; }
        public int Amount { get; set; }
    }
    public class OrderDeleteModel
    {
        public List<Guid> List { get; set; }
    }
}
